package com.vogue.live.util;

import java.util.concurrent.ArrayBlockingQueue;

public class Common {
    public static String Vmimetype = "video/avc";
    public static String Amimetype = "audio/aac";
    public static int mBitrate = 1024*1024;
    public static int mResolutionX = 1280;
    public static int mResolutionY = 720;
    public static int mFps = 15;

    public static int YUVQ_num = 5;
    public static int AVCQ_num = 30;
    public static int AACQ_num = 20;

    public static ArrayBlockingQueue<byte[]> YUVQueue = new ArrayBlockingQueue<byte[]>(YUVQ_num);
    public static ArrayBlockingQueue<BufferUnit> AVCQueue = new ArrayBlockingQueue<BufferUnit>(AVCQ_num);
    public static ArrayBlockingQueue<BufferUnit> AACQueue = new ArrayBlockingQueue<BufferUnit>(AVCQ_num);

    public static int type = 5;
}
